<#assign treeid = fn.getUUID()>
<script type="text/javascript">

	var treeObj = $.fn.zTree.getZTreeObj("${treeid}");
	var nodes = treeObj.getSelectedNodes();
	for (var i=0, l=nodes.length; i < l; i++) {
		treeObj.checkNode(nodes[i], true, true);
	}
</script>
<div class="bjui-pageContent">
	<ul id="${treeid}" class="ztree" data-toggle="ztree" data-expand-all="true" data-check-enable="true">
        <#list List as item> 
           <li data-id="${item.resourceId}" data-pid="${item.parentId}">${item.resourceName}</li>
        </#list>              
    </ul>
</div>